#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

/**********************************************************************
 *                          COMMENT                                   *
 **********************************************************************/
int* foo(void) {
	int arr[] = { 1, 2, 3, 4, 5 };
	return &arr[2];
}


int main(void) {
	int* p = foo();
	printf("*p = %d\n", *p);	// 3
	printf("*p = %d\n", *p);	// 3
	return 0;
}